﻿//checked
using System;
using System.IO;

namespace net.entity.framework {
    public static class EntityGlobalSettings {
        static EntityGlobalSettings() {
            //Debug.Listeners.Add(new ConsoleTraceListener());
            //Trace.Listeners.Add(new ConsoleTraceListener());
            //Logger = new DebugTextWriter();
            Logger = Console.Out;
            //ConsoleTraceListener
            //TextWriterTraceListener
        }

        public static TextWriter Logger { get; set; }
        public static DbClient DbClient { get { return DbClient.SqlClient;}}
    }
}